package org.example.mrrope.service;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @author Lizzy
 * @date 2024/08/30
 * @desc 计划单
 */

public interface ProductionScheduleService {

    Integer upsertProductionSchedule(String soNum,String poNum,String userId);

    @Async
    Integer upProductionSchedule(String soNum, String poNum, String userId, String JHoid);

    Integer supplementPackingProductionSchedule(String soNum);

    void updateWLVersion(String soNum) throws Exception;

    void updateWLVersionTOw(String so,String soTOw) throws Exception;

    void updateWLVersionBaoZhuang(String instanceId) throws Exception;
}
